package com.siyoumi.app.modules.app_ess.vo;

import com.siyoumi.validator.annotation.EqualsValues;
import com.siyoumi.validator.annotation.HasAnyText;
import lombok.Data;

import javax.validation.constraints.Size;
import java.time.LocalDateTime;

//学生老师
@Data
public class VaEssUser {
    private String euser_id;
    private String euser_type;

    @HasAnyText
    @Size(max = 50)
    private String user_name;
    //@HasAnyText
    @Size(max = 200)
    private String user_headimg;
    @HasAnyText
    @Size(max = 50)
    private String user_phone;

    @EqualsValues(vals = {"1", "2", "0"})
    private Integer euser_sex;
    @Size(max = 50)
    private String euser_speciality;
    private LocalDateTime euser_school_date;
    @Size(max = 500)
    private String euser_address;
}
